package com.foftact.util;

import com.alibaba.druid.util.JdbcUtils;

import java.sql.Connection;
import java.util.Properties;
import java.util.function.Supplier;

public class Constantz {

    public static final int LIMIT_1000 = 1000;

    public static final int LIMIT_10 = 10;

    public static final int LIMIT_5 = 5;

    public static final int LIMIT_3 = 3;

    public static final int PAGE_SIZE_50 = 50;

    public static final int PAGE_SIZE_20 = 20;

    public static final String YYYYMMDD = "yyyyMMdd";

    public static final String YYYY_MM_DD = "yyyy-MM-dd";

    public static final String MM_DD = "MM-dd";

    public static final String YYYY_MM_01 = "yyyy-MM-01";

    public static final String YYYY_MM_DD_HH_MM_SS = "yyyy-MM-dd HH:mm:ss";

    public static final String YYYY_MM_DD_HH_MM_SS_NUMBERIC = "yyyyMMddHHmmss";

    public static final int OK_CODE = 0;
    public static final int FAILED_CODE = 9;
    public static final int PROCESS_CODE = 1;
    public static final int UNKNOWN_CODE = 2;

    public static final String OK = "OK";
    public static final String FAILED = "FAILED";
    public static final String PROCESS = "PROCESS";

    public static final String CHROME_DEBUGGER_ADDRESS = "debuggerAddress";
    public static final String CHROME_DEBUGGER_ADDRESS_IP = "127.0.0.1:9222";

    public static final String RESET_PAGE_URL = "http://www.baidu.com";

    public static final String PgrFundInfo = "PgrFundInfo";
}
